package com.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;

@SpringBootApplication(scanBasePackages = {"com.app"})
public class JdTbSpringApplication {


    @GetMapping("/hello")
    public String sayHello() {
        return "Hello, World!";
    }

    public static void main(String[] args) {
        SpringApplication.run(JdTbSpringApplication.class, args);
    }
}
